[INFO] cloning repository https://github.com/johnnyegel/rust-dfu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnnyegel/rust-dfu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnnyegel%2Frust-dfu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnnyegel%2Frust-dfu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 803b428d49573cc1192fb748a5bb1e8bd6c168e9
[INFO] testing johnnyegel/rust-dfu against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnnyegel%2Frust-dfu" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johnnyegel/rust-dfu
[INFO] finished tweaking git repo https://github.com/johnnyegel/rust-dfu
[INFO] tweaked toml for git repo https://github.com/johnnyegel/rust-dfu written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johnnyegel/rust-dfu on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/johnnyegel/rust-dfu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29af00511a2eb584181573a138481f1f9b40c7663ddca0964da5ea136a9140c5
[INFO] running `Command { std: "docker" "start" "-a" "29af00511a2eb584181573a138481f1f9b40c7663ddca0964da5ea136a9140c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29af00511a2eb584181573a138481f1f9b40c7663ddca0964da5ea136a9140c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29af00511a2eb584181573a138481f1f9b40c7663ddca0964da5ea136a9140c5", kill_on_drop: false }`
[INFO] [stdout] 29af00511a2eb584181573a138481f1f9b40c7663ddca0964da5ea136a9140c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5fd27e15bcd9d26d7bbd7939751c0c65d4b548966d3ac8080cc8169a32d0595
[INFO] running `Command { std: "docker" "start" "-a" "c5fd27e15bcd9d26d7bbd7939751c0c65d4b548966d3ac8080cc8169a32d0595", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rusb v0.7.0
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling libusb1-sys v0.5.0
[INFO] [stderr]    Compiling rdfu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `sep` is never read
[INFO] [stdout]   --> src/util/memory.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             sep = "|";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dev_desc`
[INFO] [stdout]    --> src/main.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let dev_desc = dev_desc_result.unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_desc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Elf(Option<usize>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     Elf(Option<usize>),
[INFO] [stdout] 16 +     Elf(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Hex(Option<usize>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     Hex(Option<usize>),
[INFO] [stdout] 17 +     Hex(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Dfu(Option<usize>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     Dfu(Option<usize>),
[INFO] [stdout] 18 +     Dfu(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bin(Option<usize>)
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     Bin(Option<usize>)
[INFO] [stdout] 19 +     Bin(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryMap` is never constructed
[INFO] [stdout]   --> src/util/memory.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct MemoryMap<'a> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bank` is never constructed
[INFO] [stdout]   --> src/util/memory.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Bank {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sector` is never constructed
[INFO] [stdout]   --> src/util/memory.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Sector {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `banks` are never used
[INFO] [stdout]    --> src/util/memory.rs:97:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl<'a> MemoryMap<'a> {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn new(name: &'a str, banks: Vec<Bank>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn banks(&self) -> &[Bank] {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from_sectors`, and `sectors` are never used
[INFO] [stdout]    --> src/util/memory.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl Bank {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn new(index: usize, address: usize, sectors: Vec<Sector>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn from_sectors(index: usize, sectors: Vec<Sector>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn sectors(&self) -> &[Sector] {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `next`, `is_accessible`, and `total_size` are never used
[INFO] [stdout]    --> src/util/memory.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl Sector {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn new(index: usize, address: usize, block_count: usize, block_size: usize, access: Accessibility) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn next(&self, block_count: usize, block_size: usize, access: Accessibility) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn is_accessible(&self, access: Accessibility) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn total_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DefParseError` is never used
[INFO] [stdout]    --> src/usb/stm32dfu.rs:114:10
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub enum DefParseError {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_memory_layout_string` is never used
[INFO] [stdout]    --> src/usb/stm32dfu.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap, DefParseError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_sector_layout` is never used
[INFO] [stdout]    --> src/usb/stm32dfu.rs:194:4
[INFO] [stdout]     |
[INFO] [stdout] 194 | fn parse_sector_layout(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/usb/stm32dfu.rs:123:45
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap, DefParseError> {
[INFO] [stdout]     |                                             ^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap<'_>, DefParseError> {
[INFO] [stdout]     |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.85s
[INFO] running `Command { std: "docker" "inspect" "c5fd27e15bcd9d26d7bbd7939751c0c65d4b548966d3ac8080cc8169a32d0595", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5fd27e15bcd9d26d7bbd7939751c0c65d4b548966d3ac8080cc8169a32d0595", kill_on_drop: false }`
[INFO] [stdout] c5fd27e15bcd9d26d7bbd7939751c0c65d4b548966d3ac8080cc8169a32d0595
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b25c6cf851bc5a8dc5b3c800af84dedb0b0ad5992d15a32380a0cc3529b8c58c
[INFO] running `Command { std: "docker" "start" "-a" "b25c6cf851bc5a8dc5b3c800af84dedb0b0ad5992d15a32380a0cc3529b8c58c", kill_on_drop: false }`
[INFO] [stderr]    Compiling rdfu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `sep` is never read
[INFO] [stdout]   --> src/util/memory.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |             sep = "|";
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dev_desc`
[INFO] [stdout]    --> src/main.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let dev_desc = dev_desc_result.unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_desc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Elf(Option<usize>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     Elf(Option<usize>),
[INFO] [stdout] 16 +     Elf(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Hex(Option<usize>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 17 -     Hex(Option<usize>),
[INFO] [stdout] 17 +     Hex(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Dfu(Option<usize>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 18 -     Dfu(Option<usize>),
[INFO] [stdout] 18 +     Dfu(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bin(Option<usize>)
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 -     Bin(Option<usize>)
[INFO] [stdout] 19 +     Bin(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next` and `is_accessible` are never used
[INFO] [stdout]    --> src/util/memory.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl Sector {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn next(&self, block_count: usize, block_size: usize, access: Accessibility) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn is_accessible(&self, access: Accessibility) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/usb/stm32dfu.rs:123:45
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap, DefParseError> {
[INFO] [stdout]     |                                             ^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap<'_>, DefParseError> {
[INFO] [stdout]     |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "b25c6cf851bc5a8dc5b3c800af84dedb0b0ad5992d15a32380a0cc3529b8c58c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b25c6cf851bc5a8dc5b3c800af84dedb0b0ad5992d15a32380a0cc3529b8c58c", kill_on_drop: false }`
[INFO] [stdout] b25c6cf851bc5a8dc5b3c800af84dedb0b0ad5992d15a32380a0cc3529b8c58c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a5886fdde0759106b3d56714eae9b6c3214b7d9d536f27f40b9923a53fb5d84e
[INFO] running `Command { std: "docker" "start" "-a" "a5886fdde0759106b3d56714eae9b6c3214b7d9d536f27f40b9923a53fb5d84e", kill_on_drop: false }`
[INFO] [stderr] warning: value assigned to `sep` is never read
[INFO] [stderr]   --> src/util/memory.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |             sep = "|";
[INFO] [stderr]    |             ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dev_desc`
[INFO] [stderr]    --> src/main.rs:148:13
[INFO] [stderr]     |
[INFO] [stderr] 148 |         let dev_desc = dev_desc_result.unwrap();
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dev_desc`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/main.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |     Elf(Option<usize>),
[INFO] [stderr]    |     --- ^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 16 -     Elf(Option<usize>),
[INFO] [stderr] 16 +     Elf(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/main.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |     Hex(Option<usize>),
[INFO] [stderr]    |     --- ^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 17 -     Hex(Option<usize>),
[INFO] [stderr] 17 +     Hex(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/main.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     Dfu(Option<usize>),
[INFO] [stderr]    |     --- ^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 18 -     Dfu(Option<usize>),
[INFO] [stderr] 18 +     Dfu(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/main.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |     Bin(Option<usize>)
[INFO] [stderr]    |     --- ^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ImageFormat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 19 -     Bin(Option<usize>)
[INFO] [stderr] 19 +     Bin(())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: methods `next` and `is_accessible` are never used
[INFO] [stderr]    --> src/util/memory.rs:190:12
[INFO] [stderr]     |
[INFO] [stderr] 174 | impl Sector {
[INFO] [stderr]     | ----------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 190 |     pub fn next(&self, block_count: usize, block_size: usize, access: Accessibility) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 200 |     pub fn is_accessible(&self, access: Accessibility) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/usb/stm32dfu.rs:123:45
[INFO] [stderr]     |
[INFO] [stderr] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap, DefParseError> {
[INFO] [stderr]     |                                             ^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                             |
[INFO] [stderr]     |                                             the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 123 | pub fn parse_memory_layout_string(ifstring: &str) -> Result<MemoryMap<'_>, DefParseError> {
[INFO] [stderr]     |                                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rdfu` (bin "rdfu" test) generated 8 warnings (run `cargo fix --bin "rdfu" -p rdfu --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rdfu-db9d9830c5fc9dc9)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test usb::stm32dfu::tests::test_parse_memory_definition_string ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a5886fdde0759106b3d56714eae9b6c3214b7d9d536f27f40b9923a53fb5d84e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5886fdde0759106b3d56714eae9b6c3214b7d9d536f27f40b9923a53fb5d84e", kill_on_drop: false }`
[INFO] [stdout] a5886fdde0759106b3d56714eae9b6c3214b7d9d536f27f40b9923a53fb5d84e
